
import resolve from "@rollup/plugin-node-resolve";
import commonjs from '@rollup/plugin-commonjs';
import json from '@rollup/plugin-json';
import { uglify } from "rollup-plugin-uglify";
export default {
  input: './src/index.js',
  output: {
    file: './dist/index.mjs',
    format: 'es'
  },
  plugins: [
    commonjs({
      include: /node_modules/
    }),
    json(),
    resolve(),
    uglify()
  ],
}